package model;

import java.sql.Date;
import java.util.*;

public class Community {
	
//	community field
	private int cono;
	private String coname = null;
	private int coopen;
	private Date coregdate = null;
	private String cologoofn = null;
	private String cologosfn = null;
	private String copoptext = null;
	private int copopwidth;
	private int copopheight;
	private String coguide = null;
	private int ccno;
	
	
	private int ccnocount; //카테고리별 커뮤니티 수
	private String ccname; //카테고리명
	
	private Vector<CommunityLink> communityLinks = null;  
	private Vector<MemberCommunity> membercommunitys = null;
	
	//조성일 추가 사항
	//방장 아이디하고 별명 추가 합니다. 06/11
	private String masterid;
	private String masternickname;
	
	private int membercount; //회원수
	private String mcnick = null; // 관리자명
	private String mid = null; // 관리자아이디명
	
//	getter & setter methods

	/**
	 * @return the masterid
	 */
	public String getMasterid() {
		return masterid;
	}

	/**
	 * @param masterid the masterid to set
	 */
	public void setMasterid(String masterid) {
		this.masterid = masterid;
	}

	/**
	 * @return the masternickname
	 */
	public String getMasternickname() {
		return masternickname;
	}

	/**
	 * @param masternickname the masternickname to set
	 */
	public void setMasternickname(String masternickname) {
		this.masternickname = masternickname;
	}

	public Vector<CommunityLink> getCommunityLinks() {
		return communityLinks;
	}

	public void setCommunityLinks(Vector<CommunityLink> communityLinks) {
		this.communityLinks = communityLinks;
	}

	public Vector<MemberCommunity> getMembercommunitys() {
		return membercommunitys;
	}

	public void setMembercommunitys(Vector<MemberCommunity> membercommunitys) {
		this.membercommunitys = membercommunitys;
	}

	public int getCcno() {
		return ccno;
	}

	public void setCcno(int ccno) {
		this.ccno = ccno;
	}

	public String getCoguide() {
		return coguide;
	}

	public void setCoguide(String coguide) {
		this.coguide = coguide;
	}

	public String getCologoofn() {
		return cologoofn;
	}

	public void setCologoofn(String cologoofn) {
		this.cologoofn = cologoofn;
	}

	public String getCologosfn() {
		return cologosfn;
	}

	public void setCologosfn(String cologosfn) {
		this.cologosfn = cologosfn;
	}

	public String getConame() {
		return coname;
	}

	public void setConame(String coname) {
		this.coname = coname;
	}

	public int getCono() {
		return cono;
	}

	public void setCono(int cono) {
		this.cono = cono;
	}

	public int getCoopen() {
		return coopen;
	}

	public void setCoopen(int coopen) {
		this.coopen = coopen;
	}

	public int getCopopheight() {
		return copopheight;
	}

	public void setCopopheight(int copopheight) {
		this.copopheight = copopheight;
	}

	public String getCopoptext() {
		return copoptext;
	}

	public void setCopoptext(String copoptext) {
		this.copoptext = copoptext;
	}

	public int getCopopwidth() {
		return copopwidth;
	}

	public void setCopopwidth(int copopwidth) {
		this.copopwidth = copopwidth;
	}

	public Date getCoregdate() {
		return coregdate;
	}

	public void setCoregdate(Date coregdate) {
		this.coregdate = coregdate;
	}


	public int getCcnocount() {
		return ccnocount;
	}

	public void setCcnocount(int ccnocount) {
		this.ccnocount = ccnocount;
	}

	public String getCcname() {
		return ccname;
	}

	public void setCcname(String ccname) {
		this.ccname = ccname;
	}

	public String getMcnick() {
		return mcnick;
	}

	public void setMcnick(String mcnick) {
		this.mcnick = mcnick;
	}

	public int getMembercount() {
		return membercount;
	}

	public void setMembercount(int membercount) {
		this.membercount = membercount;
	}

	public String getMid() {
		return mid;
	}

	public void setMid(String mid) {
		this.mid = mid;
	}

}
